class Store < ActiveRecord::Base
    has_many :storeProducts
    validates_uniqueness_of :name,:message=>'该仓库已经存在'
end
